package com.hmh.student.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.hmh.student.system.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.management.relation.RoleNotFoundException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xyf
 * @since 2025-04-15
 */
public interface ISysRoleService extends IService<SysRole> {


    //添加一个角色
   // public void testRoleAdd(SysRole sysRole);


/*    public void testRoleDelete(Long roleId);

    void testRoleUpdate(SysRole sysRole);*/

    Page<SysRole> queryRolePage(Page<SysRole>page, String roleName);

    boolean existsById(Integer roleId);



}
